package org.item.common.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.item.common.enumbean.PermissionType;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("sys_permission")
public class SysPermission implements Serializable {
  @TableId(type = IdType.AUTO)
  private Integer  id;

    @TableField("perm_key")
    private String  permkey;
  @TableField("perm_name")
    private String permname;
  @TableField("perm_type")
    private PermissionType permtype;
  @TableField("service_module")
    private String servicemodule;
    private String    description;
  @TableField("create_time")
    private LocalDateTime createtime;

  @TableField("mean_id")
  private Integer meanId;

}
